<template>
	<view>		
		<web-view :webview-styles="webviewStyles" :src="src"></web-view>	
	</view>
</template>

<script>
export default {
	data() {
		return {
			src:'https://z1.m1907.cn/jx.html', //微信查封
			//src:'https://hot.browser.miui.com/v7/?from=singlemessage#page=play-list', 休闲小视频
			//src: 'https://www.feizhan.cc/',
			//src:'/hybrid/html/subway.html',
			webviewStyles: {
				progress: {
					color: '#FF3333'
				}
			}
		};
	},
	onReady() {
	},
	methods: {
		
		getRegeo() {
			uni.showLoading({
				title: '定位中'
			});
			this.$amapPlugin.getRegeo({
				success: (data) => {
					console.log(JSON.stringify(data))
					uni.hideLoading();
				}
			});
		},
		getWeather() {
			uni.showLoading({
				title: '获取信息中'
			});
			this.$amapPlugin.getWeather({
				success: (data) => {
					console.log(data);
					for (const key in data) {
						console.log(key);
					}
					uni.hideLoading();
				}
			});
		}
	},
};
</script>

<style></style>
